<template>
    <div class="dialog">
        <h1>用户：{{currentUser.userName}}</h1>
        <div class="chatList">

        </div>
        <chat-input></chat-input>
    </div>
</template>

<script>
    import ChatInput from "./ChatInput"

    export default {
        name: "DialogBox",
        components: {ChatInput},
        props: ["currentUser"]
    }
</script>

<style scoped>
    .dialog {
        width: 600px;
        height: 600px;
        background-color: pink;
    }
</style>
